package org.game.gobang.client.support;

import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.layout.VBox;

import java.net.URL;
import java.util.ResourceBundle;

public abstract class GobangInit implements Initializable {
    @FXML
    private VBox main;

    @Override
    public void initialize(URL url, ResourceBundle resourceBundle) {
        initMain(main);
        initToolBar(main);
    }

    protected abstract void initToolBar(VBox main);

    public abstract void initMain(VBox main);
}
